/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package top.continew.admin.cakerun.model.resp;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import cn.idev.excel.annotation.ExcelIgnoreUnannotated;
import cn.idev.excel.annotation.ExcelProperty;

import top.continew.admin.common.base.model.resp.BaseDetailResp;
import java.io.Serial;
import java.time.*;
import java.math.BigDecimal;

/**
 * 门店评价详情信息
 *
 * @author tangyu
 * @since 2025/07/08 10:47
 */
@Data
@ExcelIgnoreUnannotated
@Schema(description = "门店评价详情信息")
public class FeedbackDetailResp extends BaseDetailResp {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 
     */
    @Schema(description = "")
    @ExcelProperty(value = "")
    private Integer accountId;

    /**
     * 门店ID
     */
    @Schema(description = "门店ID")
    @ExcelProperty(value = "门店ID")
    private Integer shopId;

    /**
     * 评分
     */
    @Schema(description = "评分")
    @ExcelProperty(value = "评分")
    private BigDecimal avgScore;

    /**
     * 总评价
     */
    @Schema(description = "总评价")
    @ExcelProperty(value = "总评价")
    private Integer totalCount;

    /**
     * 差评数量
     */
    @Schema(description = "差评数量")
    @ExcelProperty(value = "差评数量")
    private Integer badCount;

    /**
     * 好评数量
     */
    @Schema(description = "好评数量")
    @ExcelProperty(value = "好评数量")
    private Integer goodCount;
}